//
//  LoginV2ViewModel.h
//  EnvironmentalProtection
//
//  Created by HCreater on 2018/11/8.
//  Copyright © 2018年 HCreater. All rights reserved.
//

#import "SUViewModel2.h"

@interface LoginV2ViewModel : SUViewModel2

@property (nonatomic, assign) NSInteger type; //0: pwd 1: vercode

// Phone pwd login
@property (nonatomic, copy) NSString* strPwdLoginPhone;
@property (nonatomic, copy) NSString* strPwd;

// Phone vercode login
@property (nonatomic, copy) NSString* strVercodeLoginPhone;
@property (nonatomic, copy) NSString* strVercode;

@property (nonatomic, copy) NSString* contrastVerCode;

/// 验证码按钮点击执行的命令
@property (nonatomic, readonly, strong) RACCommand *verCodeCommand;
/// 登录按钮点击执行的命令
@property (nonatomic, readonly, strong) RACCommand *loginCommand;
/// 微信按钮点击执行的命令
@property (nonatomic, readonly, strong) RACCommand *wxCommand;

@end
